disjoint cycles commute